#define _CRT_SECURE_NO_WARNINGS 1

#include"string.h"

int main()
{
	zy::string s1("asdfg");
	zy::string s2("qqqw");
	s2 = s1;
	cout << s2 << endl;


	/*std::string str("asdfg");
	cout << str.substr(3, 7) << endl;*/

	/*zy::string s1, s2;
	zy::getline(cin, s1);
	cout << s1 << endl;*/

	/*zy::string s1, s2;
	cin >> s1 >> s2;
	cout << s1 << endl;
	cout << s2 << endl;*/




	/*zy::string str1("asdfg");
	zy::string str2("asdfg");
	cout << (str1 == str2) << endl;
	cout << (str1 != str2) << endl;
	cout << (str1 > str2) << endl;
	cout << (str1 >= str2) << endl;
	cout << (str1 < str2) << endl;
	cout << (str1 <= str2) << endl;*/


	//zy::string a = str.substr();

	/*zy::string s("abcdefghi");
	cout << s.find('v') << endl;
	cout << s.find('g', 5) << endl;
	cout << s.find("feg") << endl;
	cout << s.find('ght', 3) << endl;*/


	//zy::string s("hhhh");

	/*zy::string s("abcdefg");
	cout << s << endl;

	s.insert(3,"xxx");
	s.push_back('c');
	s += "111";
	cout << s << endl;

	s.erase(6, 5);
	cout << s << endl;

	s.erase();
	cout << s << endl;*/

	return 0;
}